<template>
	<view style="display: flex;align-items: center;flex-direction: column;">
		<view class="success-icon">
			<view class="hook">

			</view>
		</view>
		<view class="">
			操作成功
		</view>

		<button type="default" class="btn btn-submit" @click="goHome">返回首页</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goHome() {
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.success-icon {
		margin: 30rpx;
		width: 200rpx;
		height: 200rpx;
		border-radius: 50%;
		background-color: #4CD964;
		display: flex;
		justify-content: center;
		align-items: center;
		color: white;

		.hook {
			width: 80rpx;
			height: 50rpx;
			border-bottom: 8rpx solid white;
			border-left: 8rpx solid white;
			transform: translateY(-10rpx) rotate(-45deg);
		}
	}
</style>
